<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ page import="java.io.PrintWriter"%>
<%@ page import="java.util.*"%>
<%@ page import="javax.servlet.*"%>
<%@page import="model.MonHocBatBuocM"%>
<%@page import="dao.MonHocBatBuocD"%>
<%
	MonHocBatBuocD dao = new MonHocBatBuocD();
	int strStatus = 0;
	int check = 0;
	String id1 = request.getParameter("id_loai_khoi_kien_thuc1");
	String id2 = request.getParameter("id_loai_khoi_kien_thuc2");
	String id3 = request.getParameter("id_loai_khoi_kien_thuc3");
	try {
		if(id1!="" && id2!="" && id3!=""){
			if((Integer.parseInt(id1)==Integer.parseInt(id2)) || (Integer.parseInt(id1)==Integer.parseInt(id3)) || (Integer.parseInt(id2)==Integer.parseInt(id3))){
				check = 1;
			}
		}
		if(check==1){
			strStatus = 1;
		}
	} catch (Exception ex) {
		ex.printStackTrace();
	}
	out.println(strStatus);
%>